<script setup>
import * as antIcons from '@ant-design/icons-vue';

defineOptions({name: 'b-icon'});
const props = defineProps({
  type: {
    type: String,
    required: true
  },
});
</script>

<template>
  <component :is="antIcons[props.type]"/>
</template>

<style scoped lang="less">

</style>